package com.zxjlib.core.webui.easyui.response;

import com.zxjlib.core.webui.easyui.datamodel.DataGridModel;

/**
 * 数据表格 result
 * 
 * @ClassName: DataGridResult
 * @Description: TODO
 * @Author 竺夏军
 * @Date 2015年5月7日 下午5:32:05
 * @Modify
 * @CopyRight 信息化团队
 */
public class DataGridResult extends DataGridModel {

    private String             _SUCCESS = "SUCCESS";
    public final static String ERROR    = "ERROR";
    public final static String FAILURE  = " FAILURE";

    private String             code     = _SUCCESS;
    private String             result   = "操作成功";

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public void setCodeResult(String code, String result) {
        this.code = code;
        this.result = result;
    }

}
